package com.sl.au.service;

import java.util.List;

import com.sl.au.entity.Module;
import com.sl.au.entity.Role;
import com.sl.au.entity.SaleArea;
import com.sl.au.repository.ModuleRepository;
import com.sl.au.repository.SaleAreaRepository;

public interface SaleAreaService extends BaseService {
SaleAreaRepository getRepository();
/**
 * 获取分页数据
 * @param start
 * @param length
 * @param key
 * @param orderName
 * @param dir
 * @return
 */
List<SaleArea>   getPage(int start, int length, String key ,String orderName ,String dir);
/**
 * 快速查询获取分页数据
 * @param start
 * @param length
 * @param key
 * @param orderName
 * @param dir
 * @return
 */
 List<SaleArea> getSaleAreas(int start, int length,String key,String orderName ,String dir);
 

}
